<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>聚划算</title>
		<style type="text/css">
			body{
				height: 3000px;
			}
			.daohanglan{
				width: 100%;
				height: 50px;
				position: sticky;/* 开启元素粘滞定位 */
				top: 50px;
			}
			ul{
				list-style-type: none;
				
			}
			
			li{
				float: left;/* 向左浮动 */
				line-height: 50px;
			}
			li a{
				display: block;/* 设成块元素 */
				margin: 0;
				padding:0px 61px;
				text-decoration: none;/* 清除下划线 */
				border-radius:5px;
				font-size: 25px;
			}
			li a:hover{
				background-color: #A2989F;
			}
			a:visited{
				background-color: red;
			}
			li:first-child{
				color: white;
				background-color: red;
				border-radius:5px;
			}
		</style>
	
	</head>
	<body>
		<div class="daohanglan">
			<ul>
				<li class="shouye"><a href="">首页</a></li>
				<li><a href="">品牌团</a></li>
				<li><a href="">非常大牌</a></li>
				<li><a href="">聚名品</a></li>
				<li><a href="">全球精选</a></li>
				<li><a href="">量贩团</a></li>
			</ul>
		</div>
	</body>
</html>
